package cn.wolfcode.luowowo.article.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class FlightQuery extends QueryObject{
      private String startCity;
      private String endCity;
      @DateTimeFormat(pattern="yyyy-MM-dd")
      private Date startDate;
      @DateTimeFormat(pattern="yyyy-MM-dd")
      private Date endDate;

}
